Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Step1 - GitHub(데이터 레이어) #36

Merged
merged 1 commit into from
Sep 22, 2024

Conversation

YiBeomSeok
Copy link

안녕하세요 리뷰어님.

많이 늦었지만 가능하시다면 리뷰 부탁드립니다.

4단계 Step1 요구사항 구현입니다.

Copy link

@namjackson namjackson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

안녕하세요 범석님!
1단계 잘구현해주셨네요!
끝까지 화이팅입니다 😄

import kotlinx.serialization.Serializable

@Serializable
internal data class RemoteGitHubRepoInfo(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remote라는 단어를 이용해서 Remote 모델을 분리하셨네요 👍
저는 응답을 의미하는 Response라는 접미사를 붙이곤합니다 :)

Comment on lines +7 to +9
internal interface GetGitHubRepositoryUseCase {
suspend operator fun invoke(organization: String): List<UiGitHubRepoInfo>
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

도메인 레이어 분리 👍
UseCase를 인터페이스로 분리한 이유가 무엇인가요? :)

@@ -0,0 +1,6 @@
package nextstep.github.ui.model

data class UiGitHubRepoInfo(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ui모델을 분리해주셨네요 👍
Ui를 접두어로 붙이는 스타일이시군요 !

@namjackson namjackson merged commit 7872407 into next-step:yibeomseok Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants